#pragma once


#include <stdio.h>
#include <time.h>
#include <Windows.h>

#define SIZE1 5
#define SIZE2 7
#define nofm 10

void initialMine(char arr2[SIZE2][SIZE2]);
void initInterface(char arr1[SIZE1][SIZE1]);
int checkCoor(char arr1[SIZE1][SIZE1], int x, int y);
int checkMine(char arr2[SIZE2][SIZE2], int x, int y);
void countMine(char arr1[SIZE1][SIZE1], char arr2[SIZE2][SIZE2], int i, int j);
void dispAround(char arr1[SIZE1][SIZE1]);
int isWin(char arr1[SIZE1][SIZE1]);